﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PharmacyPharnet.Core.CustomEventArgs
{
    public class DiscountAndVATArgs : EventArgs
    {
#region Declarations
        decimal totalAmountBeforeVAT;
        decimal totalAmount;
        decimal discountAmount;
        decimal discountRate; 
        decimal vatRate ;
        decimal vatAmount ;
	#endregion        

        #region Properties
        public decimal TotalAmountBeforeVAT 
        { 
        
            get{ return totalAmountBeforeVAT; }
        }
        public decimal TotalAmount 
        { 
            get
            {
            	return totalAmount;
            }
        }
        public decimal DiscountAmount 
        { 
            get
            {
                return discountAmount;
            }
        }
        public decimal DiscountRate 
        { 
            get 
            {
                return discountRate;
            }
        }
        public decimal VATRate 
        { 
            get{
                return vatRate;
            }
        }
        public decimal VATAmount 
        { 
            get
            {
                return vatAmount;
            }
        } 
        #endregion

        #region Constructors
        public DiscountAndVATArgs()
        { }

        public DiscountAndVATArgs(decimal TotalAmountBeforeVAT, decimal TotalAmount, decimal DiscountAmount, decimal DiscountRate, decimal VATRate, decimal VATAmount)
        {
            totalAmount = TotalAmount;
            totalAmountBeforeVAT = TotalAmountBeforeVAT;
            discountAmount = DiscountAmount;
            discountRate = DiscountRate;
            vatAmount = VATAmount;
            vatRate = VATRate;

        }
        #endregion
    }
}
